package org.hxyjs.dao;


import org.hxyjs.entity.Parents;
import org.hxyjs.entity.Parents;
import org.hxyjs.page.PageInfo;
import org.hxyjs.vo.ParentsVo;

import java.util.List;

public interface ParentsDao {
    public List<Parents>  getAllParentss() throws Exception;
    Integer deleteParentsByPno(String pno) throws Exception;
    Integer updateParentsByPno(Parents parents) throws Exception;
    Integer addParents(Parents parents) throws Exception;
    public List<Parents> getParentsByPage(PageInfo pageInfo) throws Exception;
    public Parents selectParentsWithChildren(String pno);
    Parents getParentsWithOrdrees(String pno)throws Exception;
    Parents getAccountByAccountName(String pname);
    public List<Parents> getParentsByExample(String pname);
    Integer updateParents(Parents parents)  throws Exception;
    public Integer updateByPrimaryKeySelective(Parents parents);

    public Integer updateParentss(Parents parents);


}
